package com.by.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.by.entity.Users;

public interface UsersDao {
	Users	findByName(String name);
	int		countByCon(String name);
	List<Users>	findPageByCon(@Param("con") String name, 
								@Param("offset") int offset, 
								@Param("len") 	int pageSize);
	int		update(Users users);
}
